package com.test.context.listener;

import com.test.context.event.ABeanInitEvent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * @Title:
 * @Description: 功能概述:
 * @Author: lihaiyang
 * @version: 1.0 .
 * @Date: 2022-07-15 09:03
 * @Copyright: Copyright(c)2022 RedaFlight.comAll Rights Reserved
 */
@Slf4j(topic = "e")
@Component
public class ABeanListener implements ApplicationListener<ABeanInitEvent> {
	@Override
	public void onApplicationEvent(ABeanInitEvent event) {
		log.debug("event：[{}],{}",event.getClass().getSimpleName(),event.getName());
	}
}
